package cn.e4j.modular.crm.entity;

import cn.e4j.core.typewrap.PO;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;

/**
 * <p>
 * 
 * </p>
 *
 * @author miaoyl
 * @since 2019-04-03
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("MMRD_T")
public class MmrdT extends PO<MmrdT> {

    private static final long serialVersionUID = 1L;


    private String MMRDENT;

    @TableId(value = "MMRDDOCNO", type = IdType.INPUT)
    private String MMRDDOCNO;

    private BigDecimal MMRDSEQ;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate MMRDDOCDATE;

    private String MMRD001;

    private String MMRD002;

    private String MMRD003;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate MMRD004;

    private String MMRD005;

    private String MMRD006;

    private String MMRD007;

    private String MMRD008;

    private String MMRD009;

    private String MMRD010;

    private String MMRD011;

    private String MMRD012;

    private String MMRD013;

    private String MMRD014;

    private String MMRD015;

    private String MMRD016;

    private String MMRD017;

    private String MMRD018;

    private String MMRD019;

    private String MMRD020;

    private String MMRD021;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate MMRD022;

    private String MMRD023;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate MMRD024;

    private String MMRD025;

    private String MMRD026;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate MMRD027;

    private String MMRD028;

    private String MMRDACTI;

    @TableField(fill = FieldFill.INSERT)
    private String MMRDUSER;

    @TableField(fill = FieldFill.INSERT)
    private String MMRDGRUP;

    @TableField(fill = FieldFill.UPDATE)
    private String MMRDMODU;

    @TableField(fill = FieldFill.INSERT)
    private String MMRDTIME;

    @TableField(fill = FieldFill.INSERT)
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate MMRDDATE;

    @TableField(fill = FieldFill.INSERT)
    private String MMRDORIG;

    @TableField(fill = FieldFill.INSERT)
    private String MMRDORIU;



    @Override
    protected Serializable pkVal() {
        return this.MMRDENT;
    }

}
